home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Cream of the Crop 1
/
Cream of the Crop 1.iso
/
COMM
/
PROS16.ARJ
/
INSTALL.BAT
next >
Wrap
DOS Batch File
|
1991-10-01
|
4KB
|
108 lines
@ECHO OFF
CLS
ECHO ┌─────────────────────────────────────────────────────────────────────────────┐
ECHO │ PRO$TOCK INSTALLATION PROGRAM │
ECHO │ │
ECHO │ Copyright (C) 1990,1991 by Gateway Software, Inc. │
ECHO └─────────────────────────────────────────────────────────────────────────────┘
ECHO
IF "%1" == "" GOTO INSTC
IF EXIST PROSTK.EXE GOTO NEXTZ
IF NOT EXIST PROSTK.DAT GOTO ERROR1
RENAME PROSTK.DAT PROSTK.EXE
IF NOT EXIST PROSTK.EXE GOTO ERROR1
:NEXTZ
ECHO This procedure will create and copy to sub-directory
ECHO
ECHO %1\PRO$TOCK
ECHO
ECHO all PRO$TOCK files from the distribution disk or archive.
ECHO
IF EXIST %1\PRODIGY\PRODIGY.EXE GOTO INSTFILE
IF EXIST %1\PRODIGY\RS.EXE GOTO INSTFILE
ECHO
ECHO ╔═════════════════════════════════════════════════════════════════════════════╗
ECHO ║ INSTALLATION WARNING!!! ║
ECHO ║ ║
ECHO ║ The file %1\PRODIGY\RS.EXE or %1\PRODIGY\PRODIGY.EXE doesn't exist. ║
ECHO ║ ║
ECHO ║ Did you have install PRODIGY software? ║
ECHO ║ ║
ECHO ╚═════════════════════════════════════════════════════════════════════════════╝
ECHO
:INSTFILE
ECHO -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
ECHO
ECHO Press [Ctrl]-[C] to abort this procedure.
ECHO
ECHO -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
ECHO
PAUSE
ECHO
IF EXIST %1\PRO$TOCK\SYS\*.* GOTO FILEXIST
ECHO Creating a directory called %1\PRO$TOCK ...
MD %1\PRO$TOCK
MD %1\PRO$TOCK\SYS
MD %1\PRO$TOCK\IN
MD %1\PRO$TOCK\OUT
MD %1\PRO$TOCK\CONV
ECHO
GOTO NEXTB
:FILEXIST
ECHO An older version of PRO$TOCK was already installed.
ECHO This installation program will overwrite your old files
ECHO BUT keep all your configuration and data files.
ECHO
ECHO VERY IMPORTANT: Read the file README.DOC in order
ECHO to be inform about all the changes.
ECHO
PAUSE
ECHO
:NEXTB
ECHO
ECHO Extracting PRO$TOCK's files from PROSTK.EXE ...
REM -o switche is used to allow overwrite file
PROSTK -o -shareware %1\PRO$TOCK
%1
CD \PRO$TOCK
PAUSE
FVIEW README.DOC
GOTO INSTEND
:INSTC
ECHO
ECHO This installation process create a subdirectory on your hard disk
ECHO called \PRO$TOCK and then run the self-extracting file PROSTK.EXE
ECHO
ECHO For a correct installation, you must specify the target hard drive.
ECHO From DOS, type INSTALL followed by the drive letter of your chosen
ECHO hard drive (DO NOT FORGET THE SEMI-COLON CHARACTER).
ECHO
ECHO Example: to install on Drive C:, type INSTALL C: and hit ENTER key.
ECHO
GOTO END
:ERROR1
ECHO
ECHO FATAL ERROR:
ECHO the file PROSTK.EXE is missing, installation impossible to do!!!
ECHO
ECHO If you install from drive A:, type A: and hit the [Enter] key
ECHO then type INSTALL C: and hit [Enter] key
ECHO
GOTO END
:INSTEND
ECHO ╔═════════════════════════════════════════════════════════════════════════════╗
ECHO ║ INSTALLATION COMPLETE ║
ECHO ║ ║
ECHO ║ Type PS and press [Enter] to start the program PRO$TOCK ║
ECHO ╚═════════════════════════════════════════════════════════════════════════════╝
:END
ECHO